cmake_minimum_required(VERSION 3.19)
project(ftpServer2_0 C)

#set(CMAKE_C_STANDARD 99)

# for debug core dump
add_compile_options (-ggdb3 -std=gnu99 -Wall -Wextra -pedantic)
# for release
# add_compile_options (-std=gnu99)

# need -std=gnu99
add_definitions(-D_GNU_SOURCE)

set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

add_subdirectory(src)

